<!DOCTYPE >
<html lang="zh-cn">

	<head>
		<title>后台管理-美陪师资料</title>
		<% include ./partials/head %>
			<link rel="stylesheet" href="/assets/css/profile.css">
			<style>
				.images li {
					display: inline-block;
					margin: 10px;
				}
			</style>

	</head>

	<body>
		<header>
			<!-- Preloader -->
			<div id="preloader">
				<div id="status">&nbsp;</div>
			</div>
		</header>
		<div class="ch-container">
			<div class="wrap-fluid">
				<div class="container-fluid paper-wrap bevel tlbr">

					<!-- CONTENT -->
					<!--TITLE -->
					<!-- BREADCRUMB -->
					<ul id="breadcrumb">
						<li>
							<span class="entypo-home"></span>
						</li>
						<li><i class="fa fa-lg fa-angle-right"></i>
						</li>
						<li>
							<a href="#" title="Sample page 1">
								<%=user.get("nickname")%>
							</a>
						</li>
						<li class="pull-right">
							<div class="input-group input-widget">

								<input style="border-radius:15px" type="text" placeholder="Search..." class="form-control">
							</div>
						</li>
					</ul>

					<!-- END OF BREADCRUMB -->

					<div class="content-wrap">
						<!-- PROFILE -->
						<div class="row">
							<div class="col-sm-12">
								<div class="well profile">
									<div class="col-sm-12">
										<div class="col-xs-12 col-sm-4 text-center">

											<ul class="list-group">
												<li class="list-group-item text-left">
													<span class="entypo-user"></span>&nbsp;&nbsp;信息</li>
												<li class="list-group-item text-center">
													<img src="<%=user.get('avatar').url()%>" alt="" class="img-circle img-responsive img-profile">

												</li>
												<li class="list-group-item text-center">
													<span class="pull-left">
                                                <strong>平均评价</strong>
                                            </span>

													<div class="ratings">

														<a href="#">
															<span class="fa fa-star"></span>
														</a>
														<a href="#">
															<span class="fa fa-star"></span>
														</a>
														<a href="#">
															<span class="fa fa-star"></span>
														</a>
														<a href="#">
															<span class="fa fa-star"></span>
														</a>
														<a href="#">
															<span class="fa fa-star-o"></span>
														</a>

													</div>

												</li>

												<li class="list-group-item text-right">
													<span class="pull-left">
                                                <strong>创建时间</strong>
                                            </span>
													<%=Format(user.createdAt)%>
												</li>
												<li class="list-group-item text-right">
													<span class="pull-left">
                                                <strong>团号</strong>
                                            </span>
													<%=user.get("molianId")%>
												</li>
												<li class="list-group-item text-right">
													<span class="pull-left">
                                                <strong>会员类型</strong>
                                            </span>
													<%if(user.get('level')==0){%>
														普通会员
														<%}else if(user.get("level")==1){%>
															黄金会员
															<%}else{%>
																白金会员
																<%}%>
												</li>
												<li class="list-group-item text-right">
													<span class="pull-left">
                                                <strong>微信</strong>
                                            </span>
													<%=user.get("weChat")%>
												</li>
												<li class="list-group-item text-right">
													<span class="pull-left">
                                                <strong>所在地</strong>
                                            </span>
													<%=user.get('location_province')%>
														<%=user.get('location_city')%>
												</li>

											</ul>

										</div>
										<div class="col-xs-12 col-sm-8 profile-name">
											<h2><%=user.get("nickname")%>
                                        
                                    </h2>
											<hr>

											<dl class="dl-horizontal-profile">
												<dt>用户ID</dt>
												<dd>
													<%=user.id%>
												</dd>

												<dt>团号ID</dt>
												<dd>
													<%=user.get("molianId")%>
												</dd>

												<dt>昵称</dt>
												<dd>
													<%=user.get("nickname")%>
												</dd>

												<dt>Phone</dt>
												<dd>
													<%=user.get("mobilePhoneNumber")%>
												</dd>

												<dt>微信</dt>
												<dd>
													<%=user.get("weChat")%>
												</dd>

												<dt>生日</dt>
												<dd>
													<%=Format(user.get('birthday'))%>
												</dd>

												<dt>简介</dt>
												<dd>
													<%=user.get('intro')%>
												</dd>

												<dt>职业</dt>
												<dd>
													<%=user.get('job')%>
												</dd>

												<dt>毕业院校</dt>
												<dd>
													<%=user.get('school')%>
												</dd>

												<dt>身高</dt>
												<dd>
													<%=user.get('height')%>
												</dd>

												<dt>兴趣</dt>
												<dd>
													<%=user.get("like_tags")%>
												</dd>

												<dt>语言</dt>
												<dd>
													<%=user.get("language")%>
												</dd>

												<dt>理想对象</dt>
												<dd>
													<%=user.get('ideal_tags')%>
												</dd>

												<dt>相册：</dt>
												<dd></dd>
												<ul class="images">
													<% if (gallery) { %>
														<% gallery.get('images').forEach(function(image){ %>
															<li>
																<a href="<%=image.url()%>">
                        <img style="max-width:100px;max-height:100px;vertical-align:top" src="<%=image.url()%>">
                    </a>
															</li>
															<% }) %>
																<% } %>
												</ul>

											</dl>

											<hr>
										</div>

									</div>
									<div class="col-xs-12 divider text-center">
										<div class="col-xs-12 col-sm-4 emphasis">
											<h2>
                                        <strong>20,7K</strong>
                                    </h2>
											<p>
												<small>Followers</small>
											</p>
											<button class="btn btn-success btn-block">
												<span class="fa fa-plus-circle"></span>&nbsp;&nbsp;Follow</button>
										</div>
										<div class="col-xs-12 col-sm-4 emphasis">
											<h2>
                                        <strong>245</strong>
                                    </h2>
											<p>
												<small>Following</small>
											</p>
											<button class="btn btn-info btn-block">
												<span class="fa fa-user"></span>&nbsp;&nbsp;View Profile</button>
										</div>
										<div class="col-sm-4 emphasis">
											<h2>
                                        <strong>43</strong>
                                    </h2>
											<p>
												<small>Likes</small>
											</p>
											<button class="btn btn-default btn-block">
												<span class="fa fa-user"></span>&nbsp;&nbsp;Likes</button>
										</div>
									</div>
								</div>
							</div>

						</div>
						<!-- END OF PROFILE -->

						<!-- /END OF CONTENT -->

						<!-- FOOTER -->
						<div class="footer-space"></div>
						<!-- / END OF FOOTER -->
					</div>
				</div>
			</div>
			<% include ./partials/external %>

	</body>

</html>